package com.newtouch.bxzs.database.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 岗位列表BO:
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/5 14:00</td>
 * <td>tianshangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tianshangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("岗位列表BO")
public class PositionListBO implements Serializable {

    private static final long serialVersionUID = 9218207280410173636L;

    @ApiModelProperty("岗位id")
    private String positionId;

    @ApiModelProperty("岗位编码")
    private String positionCode;

    @ApiModelProperty("岗位名称")
    private String positionName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("启用状态")
    private Integer enableFlag;

    @ApiModelProperty("授权角色")
    private String roleNameStr;

    @ApiModelProperty("岗位所属终端类型")
    private String terminalType;
}
